123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337 |
- @keyframes smoothscroll {
- 0% {
- transform: translateY(0);
- }
- 100% {
- transform: translateY(-20rem);
- }
- }
- .scrollAnimation {
- padding: 3px 0;
- animation: smoothscroll 30s linear infinite;
- }
- /* From Uiverse.io by vamsidevendrakumar */
- .card {
- width: 300px;
- height: 200px;
- perspective: 1000px;
- }
- .cardInner {
- width: 100%;
- height: 100%;
- position: relative;
- transform-style: preserve-3d;
- transition: transform 0.999s;
- }
- .card:hover .cardInner {
- transform: rotateY(180deg);
- }
- .cardFront,
- .cardBack {
- position: absolute;
- width: 100%;
- height: 100%;
- backface-visibility: hidden;
- }
- .cardFront {
- background-color: #6a2c70;
- color: #fff;
- display: flex;
- align-items: center;
- border: 10px solid #6a2c70;
- border-radius: 10px;
- justify-content: center;
- font-size: 24px;
- transform: rotateY(0deg);
- }
- .cardBack {
- background-color: #f08a5d;
- color: #fff;
- display: flex;
- align-items: center;
- border: 10px solid #f08a5d;
- border-radius: 10px;
- justify-content: center;
- font-size: 24px;
- transform: rotateY(180deg);
- }
- .packetWrapper {
- position: absolute;
- top: 0;
- left: 0;
- transform: translateY(-100%);
- animation: down 8s linear infinite;
- font-size: 0;
- }
- .packet {
- width: 100%;
- height: 100%;
- position: relative;
- transition: all 3s ease;
- transform: rotate(0);
- }
- @keyframes down {
- 0% {
- transform: translateY(-100%);
- }
- 100% {
- transform: translateY(100vh);
- }
- }
- .promoRules {
- // background:url('/hby/hby_bg.png') no-repeat;
- background-size: 100% 100%;
- .promoTitle {
- font-weight: 400;
- font-weight: 700;
- }
- .titleWrap {
- font-size: 0.18rem;
- text-align: center;
- color: #ffdf7f;
- margin: 0.1rem 0;
- }
- .tips {
- margin: 0 auto;
- width: 2.5rem;
- height: 0.6rem;
- background: url("/hby/tip-bg.png") no-repeat;
- background-size: 100% auto;
- display: flex;
- justify-content: center;
- line-height: 0.48rem;
- .tipsIcon {
- display: inline-block;
- width: 0.4rem;
- height: 0.25rem;
- margin: 0.11rem 0 0;
- }
- .tipsTime {
- color: #3ab54c;
- font-size: 0.18rem;
- font-weight: 700;
- margin: 0 0 0 0.1rem;
- }
- }
- .times1 {
- margin: 0.14rem auto;
- }
- .rulelist {
- width: 90%;
- font-family: "Arial-BoldMT, Arial";
- color: #fff8bb;
- font-size: 0.1rem;
- line-height: 0.14rem;
- list-style-type: disc;
- transform: scale(0.96);
- margin: 0.08rem 0 0 0.1rem;
- .ruleItem {
- list-style: disc;
- }
- }
- .closeIcon {
- position: absolute;
- width: 30px;
- height: 30px;
- right: 0.12rem;
- top: 0.1rem;
- cursor: pointer;
- }
- }
- .redclose {
- display: flex;
- -webkit-box-pack: start;
- -ms-flex-pack: start;
- justify-content: flex-start;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-box-orient: vertical;
- -webkit-box-direction: normal;
- -ms-flex-direction: column;
- flex-direction: column;
- width: 2.09rem;
- height: 2.575rem;
- // background: url('/hby/red-bg1.png') no-repeat;
- // background-size: 2.09rem 2.575rem;
- z-index: 120;
- .closeIcon {
- position: absolute;
- right: 0;
- top: 0;
- width: 40px;
- height: 40px;
- cursor: pointer;
- }
- .redIcon {
- cursor: pointer;
- }
- .title {
- color: #ffd800;
- font-size: 0.18rem;
- text-align: center;
- font-family: " Arial-BoldMT,Arial";
- font-weight: 700;
- width: 1.8rem;
- height: 0.25rem;
- margin-top: 0.24rem;
- }
- .desc {
- color: #fff;
- font-size: 0.13rem;
- font-family: "Arial-BoldMT,Arial";
- width: 1.6rem;
- height: 1rem;
- margin-left: 0.22rem;
- .desclist {
- list-style-type: disc;
- font-size: 0.1rem;
- transform: scale(0.96);
- font-weight: 400;
- .line {
- margin-top: 0.09rem;
- margin-left: -0.14rem;
- width: 1.6rem;
- height: 0.005rem;
- background: hsla(0, 0%, 100%, 0.2);
- }
- li {
- margin-top: 0.08rem;
- list-style: disc;
- }
- }
- }
- .openBtn {
- cursor: pointer;
- margin: 0.06rem auto 0;
- width: 1rem;
- height: 0.3rem;
- line-height: 0.3rem;
- font-family: "Arial-BoldMT,Arial";
- color: #613e00;
- font-size: 0.115rem;
- font-weight: 700;
- text-align: center;
- }
- }
- .redopen {
- display: flex;
- -webkit-box-pack: start;
- -ms-flex-pack: start;
- justify-content: flex-start;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-box-orient: vertical;
- -webkit-box-direction: normal;
- -ms-flex-direction: column;
- flex-direction: column;
- width: 2.11rem;
- height: 2.555rem;
- // background: url('/hby/red-bg2.png') no-repeat;
- // background-size: 2.11rem 2.555rem;
- z-index: 120;
- .closeIcon {
- position: absolute;
- right: 0;
- top: 0;
- cursor: pointer;
- }
- .title {
- color: #925c00;
- font-size: 0.16rem;
- text-align: center;
- font-family: "Arial-BoldMT,Arial";
- width: 1.595rem;
- margin-top: 0.4rem;
- }
- .cash {
- position: absolute;
- top: 40%;
- color: #8c0c04;
- text-align: center;
- font-family: "Arial-BoldMT,Arial";
- font-weight: 700;
- font-size: 0.55rem;
- }
- .tips {
- margin-top: 0.3rem;
- width: 1.545rem;
- color: #ffd800;
- text-align: center;
- font-family: " Arial-BoldMT,Arial";
- font-size: 0.1rem;
- line-height: 0.12rem;
- transform: scale(0.96);
- }
- }
- .categoryItem {
- border: 1px solid #3aa3c5;
- border-radius: 0.06rem;
- box-shadow: 0 0 0.1rem #3aa3c5 inset;
- display: flex;
- align-items: center;
- justify-content: center;
- position: relative;
- padding: 0.1rem 0;
- font-size: 0.12rem;
- margin-bottom: 0.1rem;
- &.active {
- border: 1px solid #e53fff;
- box-shadow: 0 0 0.1rem #e53fff inset;
- }
- &.small {
- margin-left: 0.1rem;
- margin-right: 0.1rem;
- }
- .categoryItemNum {
- position: absolute;
- right: 0;
- top: 0;
- background: #ff0000;
- width: 0.17rem;
- height: 0.17rem;
- display: flex;
- align-items: center;
- justify-content: center;
- color: #fff;
- font-size: 0.1rem;
- border-radius: 50%;
- line-height: 1;
- }
- }
- .promoItem {
- position: relative;
- .promoItemNum {
- position: absolute;
- left: 0.13rem;
- top: 0.1rem;
- background: #ff0000;
- width: 0.1rem;
- height: 0.1rem;
- border-radius: 50%;
- }
- }
|